package com.dang.alex.web.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.json.JSONException;
import org.json.JSONObject;

import com.dang.alex.model.CarItem;
import com.dang.alex.model.User;

/**
 * Servlet implementation class CarDeleteServlet
 */
@WebServlet("/CarDeleteServlet")
public class CarDeleteServlet extends HttpServlet {
	
	private  boolean flag=false;
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		doPost(request, response);
	}

	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
//		flag=true;
//		JSONObject json=new JSONObject();
//		try {
//			json.put("flag", flag);
//			System.out.println(54);
//			PrintWriter out=response.getWriter();
//			out.println(json.toString());
//			System.out.println(json.toString());
//			out.close();
//		} catch (JSONException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}	
		System.out.println(1709);
		PrintWriter pw = response.getWriter();
		
		 pw.print("0");
	}

}
